package com.gzhryc.weixin.gzh.msg;

import java.io.Serializable;
import java.util.Date;

/**
 * 获取API调用凭证的响应对象
 * @author 张浩
 * @version 0.1.0
 */
public class AccessTokenResponse implements Serializable{

	private static final long serialVersionUID = 1L;
	
	//API调用凭证
	private String access_token;
	//凭证有效时间，单位：秒
	private Long expires_in;
	private Date createDate;
	
	public AccessTokenResponse(){
		this.createDate = new Date();
	}
	
	public String getAccess_token() {
		return access_token;
	}
	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}
	public Long getExpires_in() {
		return expires_in;
	}
	public void setExpires_in(Long expires_in) {
		this.expires_in = expires_in;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}
